package architect.design.patterns.structural.decorator;

/**
 * 具体装饰类
 *
 * @author guanxin
 * @date 2018/5/5 16:13
 */

public class CreamDecorator extends Decorator {

    protected CreamDecorator(BakeryComponent baseComponent) {
        super(baseComponent);
        this.name = "Cream";
        this.price = 1.0;
    }
}
